/**
 * Created by JennyWang on 16/8/3.
 */
$('form').submit(function blockPortlet(){
    if (App) {
        App.blockUI($('.portlet'));
        if ($('.modal')) App.blockUI($('.modal'));

    } else {
        console.log('Please use after App.js initialized')
    }
});
